IndexController.indexAction = new (function ()
{
    "use strict";

    var _self = this;

    /**
     * @returns {String}
     */
    this.toString = function ()
    {
        return 'indexAction';
    };

    
    Zf2.Ajax().loadAction({
        "route": "listar",
        "container": $('#grid')
    });

    $('#btnNovoUsuario').click(function () {
        Core.redirect({
            "route" : "novo"
        });
    });
    
    $('#btnReport').click(function(){
       window.open('/admin/usuario/report', '_blank'); 
    });

    
  
    Core.console.debug(this.toString(), 'init', Core.console.type.INFO);
});

